type A = {
  name: string,
  age: number
}

type B = {
  geder: boolean
}

type C = A & B

const c: C = {
  name: 'aaa',
  age: 17,
  geder: true
}

var d: Partial<C> = {
  name: 'ddd'
}

var e: Omit<C, 'geder' | 'name'> = {
  age: 17
}